package com.useeinfo.oa.common.config;

import java.util.HashMap;
import java.util.Map;

/**
 * Author: 居泽平  Date: 13-11-24, 下午11:20
 */
@SuppressWarnings("unused")
public class ExcelImportMap {

    public static Map<Integer, String> KNOWLEDGE_BASE_ENTER_IMPORT_MAP() {
        Map<Integer, String> cellPropertyMap = new HashMap<>();
        int i = 0;
        cellPropertyMap.put(i++, "questionId"); // 业务ID
        cellPropertyMap.put(i, "answer"); // 回复
        return cellPropertyMap;
    }

    public static Map<Integer, String> APPLIANCES_IMPORT_MAP() {

        Map<Integer, String> cellPropertyMap = new HashMap<Integer, String>();
        int i = 0;

        cellPropertyMap.put(i++, "applianceName"); //器具名称
        cellPropertyMap.put(i++, "equipmentNumber"); //设备编号
        cellPropertyMap.put(i++, "equipmentName"); //设备名称
        cellPropertyMap.put(i++, "specificationModel"); //规格型号
        cellPropertyMap.put(i++, "applianceCategory"); //器具类别
        cellPropertyMap.put(i++, "applianceType"); //法制管理类别
        cellPropertyMap.put(i++, "lawType"); //器具台账分类
        cellPropertyMap.put(i++, "serialNumber"); //出厂编号
        cellPropertyMap.put(i++, "dateOfManufacture"); //出厂日期
        cellPropertyMap.put(i++, "manufacturers"); //制造厂商
        cellPropertyMap.put(i++, "useDepartment"); //使用部门
        cellPropertyMap.put(i++, "custodian"); //保管人
        cellPropertyMap.put(i++, "verificationType"); //检定类型
        cellPropertyMap.put(i++, "verifier"); //检定员
        cellPropertyMap.put(i++, "identificationCycle"); //鉴定周期
        cellPropertyMap.put(i++, "buyPrice"); //购买价格
        cellPropertyMap.put(i++, "groupedEquipment"); //配套设备
        cellPropertyMap.put(i++, "dateOfPurchase"); //购买日期
        cellPropertyMap.put(i++, "storageLocation"); //存放地点
        cellPropertyMap.put(i++, "dateOfActivation"); //启用日期
        cellPropertyMap.put(i++, "remark"); //供应商
        cellPropertyMap.put(i++, "parameterName"); //计量参数名称
        cellPropertyMap.put(i++, "technicalRange"); //技术要求-量程范围
        cellPropertyMap.put(i++, "technicalAccuracy"); //技术要求-准确度/最大允差/不确定度
        cellPropertyMap.put(i++, "traceabilityRange"); //溯源要求-量程范围
        cellPropertyMap.put(i, "traceabilityAccuracy"); //溯源要求-准确度/最大允差/不确定度

        return cellPropertyMap;
    }
}
